/*
 * Copyright© 2003-2019 浙江汇信科技有限公司, All Rights Reserved. 
 */
package com.icinfo.cloud.provider.logs.service;

import com.icinfo.cloud.provider.logs.model.LogsCaseDocumentSerialRecord;
import com.icinfo.framework.core.service.BaseService;

/**
 * 描述:  logs_case_document_serial_record 对应的Service接口.<br>
 *
 * @author framework generator
 * @date 2023年01月07日
 */
public interface ILogsCaseDocumentSerialRecordService extends BaseService {

    /**
     * 【V1.10.2】描述：保存序列号记录
     * @author tianrunjia
     * @date 2023-01-07
     * @param logsCaseDocumentSerialRecord
     */
    void saveLogsCaseDocumentSerialRecord(LogsCaseDocumentSerialRecord logsCaseDocumentSerialRecord);

    /**
     * 【V1.12.0】描述：更新序列号异常状态
     * @author tianrunjia
     * @date 2023-08-23
     * @param logsCaseDocumentSerialRecord
     */
    void modLogsCaseDocumentSerialRecordException(LogsCaseDocumentSerialRecord logsCaseDocumentSerialRecord);

    /**
     * 【V1.12.0】描述：将异常的状态更新为正常状态
     * @author tianrunjia
     * @date 2023-08-23
     * @param logsCaseDocumentSerialRecord
     */
    void modLogsCaseDocumentSerialExcepToNormal(LogsCaseDocumentSerialRecord logsCaseDocumentSerialRecord);

    /**
     * 【V1.12.0】描述：从异常状态的序号池中获取最小的序号
     * @author tianrunjia
     * @date 2023-08-23
     * @param logsCaseDocumentSerialRecord
     */
    Long getLogsCaseDocumentSerialRecordException(LogsCaseDocumentSerialRecord logsCaseDocumentSerialRecord);
}